//
//  ZHNetWorkManger.h
//  ZHNetworkManager_block
//
//  Created by 邹浩 on 15/6/23.
//  Copyright (c) 2015年 蓝鸥. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void (^Success)(id object);
typedef  void (^Failed)(NSError *error);

@interface ZHNetWorkManger : NSObject

 //通用get请求
- (void)requestWithUrlStr:(NSString *)urlStr success:(void (^)(id object))succcess failed:(void (^)(NSError *error))fail;

//通用post请求
- (void)requestWithUrlStr:(NSString *)urlStr parms:(NSDictionary *)dict success:(void (^)(id))succcess failed:(void (^)(NSError *))fail;

@end
